package logic.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by lexy on 16/6/5.
 */
public class QrCodeInfo implements Serializable {

    private OrderDetailBean orderInfo;
    private List<QrCodeListBean> userTicketDtoList;

    public OrderDetailBean getOrderInfo() {
        return orderInfo;
    }

    public void setOrderInfo(OrderDetailBean orderInfo) {
        this.orderInfo = orderInfo;
    }

    public List<QrCodeListBean> getUserTicketDtoList() {
        return userTicketDtoList;
    }

    public void setUserTicketDtoList(List<QrCodeListBean> userTicketDtoList) {
        this.userTicketDtoList = userTicketDtoList;
    }

    @Override
    public String toString() {
        return "QrCodeInfo{" +
                "orderInfo=" + orderInfo +
                ", userTicketDtoList=" + userTicketDtoList +
                '}';
    }

    public class QrCodeListBean implements Serializable{
        /**
         * "barcode":"2016053109380185916955570",
         "barcodeImg":"http://121.41.14.211:6080/group1/M00/E1/B9/F_Af1gnoSVFxbuwK8s.png",
         "createTime":null,
         "epId":0,
         "id":0,
         "isDelete":null,
         "modifyTime":null,
         "orderId":0,
         "orderTime":0,
         "originalPrice":0,
         "price":0,
         "status":0,"status":0 //int 状态 0=未使用 1=已过期 2=已使用
         "ticketPropertyId":0,
         "ticketPropertyName":null,
         "useTime":null,
         "userId":0
         */
        /**
         * {
         "actualMoney":0,
         "amount":99,
         "createTime":1465814033000,
         "epId":0,
         "id":148,
         "isDelete":null,
         "mobilePhone":"18768198044",
         "modifyTime":0,
         "orderNo":"MP201606131834550099087",
         "orderTime":1465747200000,
         "payTime":0,
         "propertyId":0,
         "propertyName":"成人票",
         "spotId":0,
         "spotName":"宁波浙东大竹海漂流",
         "status":"30",
         "thirdPayNo":null,
         "thirdPayType":0,
         "ticketDetailJson":null,
         "ticketImg":"http://121.41.14.211:6080/group1/M00/98/E3/F_U7URsDPUdnBPddJd.jpg",
         "totalMoney":1267200,
         "usableAmount":0,
         "userId":0
         }
         */
        private String barcode;
        private String barcodeImg;
        private long createTime;
        private int epId;
        private int id;
        private String isDelete;
        private long modifyTime;
        private int orderId;
        private long orderTime;
        private int originalPrice;
        private int price;
        private int status;
        private int ticketPropertyId;
        private String ticketPropertyName;
        private long useTime;
        private int userId ;

        @Override
        public String toString() {
            return "QrCodeListBean{" +
                    "barcode='" + barcode + '\'' +
                    ", barcodeImg='" + barcodeImg + '\'' +
                    ", createTime=" + createTime +
                    ", epId=" + epId +
                    ", id=" + id +
                    ", isDelete='" + isDelete + '\'' +
                    ", modifyTime=" + modifyTime +
                    ", orderId=" + orderId +
                    ", orderTime=" + orderTime +
                    ", originalPrice=" + originalPrice +
                    ", price=" + price +
                    ", status=" + status +
                    ", ticketPropertyId=" + ticketPropertyId +
                    ", ticketPropertyName='" + ticketPropertyName + '\'' +
                    ", useTime=" + useTime +
                    ", userId=" + userId +
                    '}';
        }

        public String getBarcode() {
            return barcode;
        }

        public void setBarcode(String barcode) {
            this.barcode = barcode;
        }

        public String getBarcodeImg() {
            return barcodeImg;
        }

        public void setBarcodeImg(String barcodeImg) {
            this.barcodeImg = barcodeImg;
        }

        public long getCreateTime() {
            return createTime;
        }

        public void setCreateTime(long createTime) {
            this.createTime = createTime;
        }

        public int getEpId() {
            return epId;
        }

        public void setEpId(int epId) {
            this.epId = epId;
        }

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getIsDelete() {
            return isDelete;
        }

        public void setIsDelete(String isDelete) {
            this.isDelete = isDelete;
        }

        public long getModifyTime() {
            return modifyTime;
        }

        public void setModifyTime(long modifyTime) {
            this.modifyTime = modifyTime;
        }

        public int getOrderId() {
            return orderId;
        }

        public void setOrderId(int orderId) {
            this.orderId = orderId;
        }

        public long getOrderTime() {
            return orderTime;
        }

        public void setOrderTime(long orderTime) {
            this.orderTime = orderTime;
        }

        public int getOriginalPrice() {
            return originalPrice;
        }

        public void setOriginalPrice(int originalPrice) {
            this.originalPrice = originalPrice;
        }

        public int getPrice() {
            return price;
        }

        public void setPrice(int price) {
            this.price = price;
        }

        public int getStatus() {
            return status;
        }

        public void setStatus(int status) {
            this.status = status;
        }

        public int getTicketPropertyId() {
            return ticketPropertyId;
        }

        public void setTicketPropertyId(int ticketPropertyId) {
            this.ticketPropertyId = ticketPropertyId;
        }

        public String getTicketPropertyName() {
            return ticketPropertyName;
        }

        public void setTicketPropertyName(String ticketPropertyName) {
            this.ticketPropertyName = ticketPropertyName;
        }

        public long getUseTime() {
            return useTime;
        }

        public void setUseTime(long useTime) {
            this.useTime = useTime;
        }

        public int getUserId() {
            return userId;
        }

        public void setUserId(int userId) {
            this.userId = userId;
        }
    }
}
